import request from '@/utils/request'

// 影音室列表
export function listAudiovisualRoom(query) {
  return request({
    url: '/system/audiovisual-room/list',
    method: 'get',
    params: query
  })
}

// 删除影音室
export function delAudiovisualRoom(data) {
  return request({
    url: '/system/audiovisual-room/delete',
    method: 'post',
	data:data
  })
}

// 新增影音室
export function insertAudiovisualRoom(data) {
  return request({
    url: '/system/audiovisual-room/insert',
    method: 'post',
	data:data
  }) 
}

// 编辑影音室
export function editAudiovisualRoom(data) {
  return request({
    url: '/system/audiovisual-room/edit',
    method: 'post',
	data:data
  }) 
}

// 所有影音室
export function allListAudiovisualRoom() {
  return request({
    url: '/system/audiovisual-room/allList',
    method: 'get'
  }) 
}

// 影音室详情
export function detailAudiovisualRoom(data) {
  return request({
    url: '/system/audiovisual-room/detail',
    method: 'post',
	data:data
  }) 
}